﻿// -----------------------------------------------------------------------
// <copyright file="ViewModelBase.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace RauteAdministarion.ViewModels
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.ComponentModel;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class ViewModelBase : INotifyPropertyChanged
    {
        public void OnPropertyChanged(string propertyName)
        {
            if (this.PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        protected string operationResult;

        public event PropertyChangedEventHandler PropertyChanged;
        public string OperationResult
        {
            get
            {
                return this.operationResult;
            }
        }
    }
}
